From c208472bc35d8f79f2055ab28db52048e3f88710 Mon Sep 17 00:00:00 2001 From: Max Semenik Date: Sun, 16 Oct 2011 15:08:38 +0000 Subject: [PATCH] Fixed bug in r99914, also reverted accidental tabs->spaces conversion --- RELEASE-NOTES-1.18 | 6 +++--- includes/api/ApiWatch.php | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/RELEASE-NOTES-1.18 b/RELEASE-NOTES-1.18 index 9a04ac1452..fa25c61e7b 100644 --- a/RELEASE-NOTES-1.18 +++ b/RELEASE-NOTES-1.18 @@ -702,17 +702,17 @@ Documentation for both end-users and site administrators is available on MediaWiki.org, and is covered under the GNU Free Documentation License (except for pages that explicitly state that their contents are in the public domain): - http://www.mediawiki.org/wiki/Documentation + http://www.mediawiki.org/wiki/Documentation == Mailing list == A mailing list is available for MediaWiki user support and discussion: - http://lists.wikimedia.org/mailman/listinfo/mediawiki-l + http://lists.wikimedia.org/mailman/listinfo/mediawiki-l A low-traffic announcements-only list is also available: - http://lists.wikimedia.org/mailman/listinfo/mediawiki-announce + http://lists.wikimedia.org/mailman/listinfo/mediawiki-announce It's highly recommended that you sign up for one of these lists if you're going to run a public MediaWiki, so you can be notified of security fixes. diff --git a/includes/api/ApiWatch.php b/includes/api/ApiWatch.php index 9eee4956cd..d9b26b5228 100644 --- a/includes/api/ApiWatch.php +++ b/includes/api/ApiWatch.php @@ -49,7 +49,7 @@ class ApiWatch extends ApiBase { $params = $this->extractRequestParams(); $title = Title::newFromText( $params['title'] ); - if ( !$title || $titile->getNamespace() < 0 ) { + if ( !$title || $title->getNamespace() < 0 ) { $this->dieUsageMsg( array( 'invalidtitle', $params['title'] ) ); } -- 2.20.1